package com.pcbly.web.persistence.system;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/
import java.util.List;

import com.pcbly.web.bean.system.ModuleBean;
import com.pcbly.web.persistence.BaseDao;
import com.pcbly.web.components.hibernate.support.Page;

public interface ModuleDao extends BaseDao<ModuleBean> {  
	
	void removeModuleBeanByIds(String ids) throws Exception;
	
	void removeModuleBeanById(String id) throws Exception;
	
	ModuleBean saveModuleBean(ModuleBean system) throws Exception;
	
	Page<ModuleBean>  findModuleBeanByCond(ModuleBean bean,
			Page<ModuleBean> page, String orderByName, boolean asc)
			throws Exception;
	List<ModuleBean> findModuleBeansByCond(String menuId) throws Exception;
}